import { PartialType } from '@nestjs/mapped-types';
import { IsOptional, IsInt } from 'class-validator';
import { CreateDictDto } from './create-dict.dto';

export class UpdateDictDto extends PartialType(CreateDictDto) {
  @IsOptional()
  @IsInt({ message: '字典ID必须是整数' })
  dictId?: number;
}
